Copyright 1984-1998 FileMaker, Inc. HBAM2016AUG95 Pro 3.0 alisA alisA alisA VDEFA HBAM3016AUG95@ NO CARRIER Pro 3.0 - 4.0 I01234P FileMaker Temp ^0K (^1%) available on 1234567890 FileMaker Prefs Preferences Pro 4.0v2 FileMaker Extensions FileMaker Templates FileMaker Registration Template Information Claris 1st Quarter 2nd Quarter 3rd Quarter 4th Quarter 2/23/99 CPORTNAMES CVERSION GADVANCEDFLOWCONTROL d GDATABITS GERRORCODE GFLOWCONTROL GMESSAGERECEIVED GMESSAGESEND GNUMBER GPARITY a GPORTNAME GSPEED W GSTOPBITS GTEMPRESULTRECEIVED MESRECEIVED gNumberB cVersionB |("Serial-Version" Serial-Version gErrorCodeB cPortNamesB |("Serial-GetPortNames" Serial-GetPortNames baud=57600 hgjhjgggj236 Y(b,,h,cx,cvnbcxbvbcbv#END xzkcxckxckxzckk stop=10 data=8 parity=none flowControl=XOnXOff Receive with Dispatch Scripting Preferences MenuB gSpeedB gMessageSendB gMessageReceivedB mesReceivedB ]A gPortNameB gTempResultReceivedB _A gStopBitsB `A gDataBitsB gParityB trueB gFlowControlB gAdvancedFlowControlB Receive with Dispatch ScriptingB Set Port Preferences\ 1999, Troi Automatisering Set Port Preferences\ 1999, Troi Automatisering L&Receiving data via Dispatch Scripting This plug-in has a simple and cross platform way to execute a script when data has been received. This is done via a Dispatch Script. If you want this functionality you need to implement the Dispatch functions in your own database. See this file how this can be done. Press on the "Start receiving" script. This tells the plug-in that the Dispatch Script can be called from the keyboard with control-1 (Windows) or command-1 (Mac). This is what happens when data arrives: - the plug-in will b ring the database file to the front and simulate a press on the keyboard:control-1(Windows) or command-1(Mac) - this will start the Dispatch Script, which can handle the receiving of the data. NOTE You can still use the Dispatch Script for other actions, so this doesn't cost a place in the script menu. That's why we call it Dispatch Scripting: when called it determines if it was called because there was data received and if yes it will dispatch the processing to another script. Start Receiving To Main Menu ReceiverB error codeo To Dispatch Menup Receive via Dispatch Scriptingu start receiving mesReceived set preferences AiData received from the serial port will be put into the mesReceived with the help of the Dispatch Script. PreferencesB Open the serial port NO CARRIER To Main Menu To Dispatch Menu To Preferences ----- General ------ %Check for Presence of Serial plug-in ----- Dispatch Scripting ------ *Open Serial Port And Prepare for Receiving Open Serial Port Set Dispatcher Script Process Data Received , Receive Data in global gTempResultReceived Reset Dispatcher Script Close Serial Port ----- Misc ------ Open file Set all globals BeepBeep Open Serial Port To Dispatch Menu speed port name stop bits data bits To Dispatch Menu speed port name stop bits data bits parity standard flow control advanced flow control ")Only use advanced control if you need to. flow control Set Serial Port Preferences gAdvancedFlowControl Start Receiving To Main Menu |("Serial-DataWasReceived" Serial-DataWasReceived ----- Dispatch Scripting ------ A%Check for Presence of Serial plug-in A4Important: ALWAYS check if the plug-in is available! Open the serial portB |("Serial-Open" ] & "|" & W & " " & _ & " " & ` & " " & a & " "& Serial-Open <> 0 = "$$-97" $$-97 Cancelm mPort is in useFw Cancelm mAn error occurred Set all globals |("Troi-Set Default Separator" "|") Troi-Set Default Separator A Open file ) = 2 ----- General ------ ----- Misc ------ BeepBeep Close Serial Port Open the serial portB< |("Serial-Close" Serial-Close To Preferences B)Check if this is FileMaker 4.0 or higher.CQ 1)) < 4 Canceld This file requires FileMaker 4.0 or higherE/Check if the Troi Grabber Plug-in is available.F| |("Serial-Version" "") 14 ) <> "Serial Plug-in" Serial-Version Serial Plug-in ) = 1 Canceld The Serial Plug-in not found. Please put The Serial Plug-in into the Extensions folder inside the FileMaker folder. Also enable all the plug-ins under the application preferences. Canceld The Serial Plug-in not found. Please put the this Plug-in into the SYSTEM directory inside the FileMaker directory. Also enable all the plug-ins under the application preferences. Helvetica Geneva Arial Times New Roman Monaco Courier Times Futura Courier New Palatino Minion Web New York AppleGaramond Bk AppleGaramond Lt Set Dispatcher Script |("Serial-SetDispatchScript" ) & "| scriptkey=1") Serial-SetDispatchScript | scriptkey=1 Process Data Received |("Serial-RestoreSituation" Serial-RestoreSituation A, Receive Data in global gTempResultReceived |("Serial-Receive" Serial-Receive 2 ) = "$$" ^ = "$$-28" $$-28 Cancel Open the port firstE- ^ = "$$-207" $$-207 Cancel Buffer overflow error.Gx Cancel An error occurred! Reset Dispatcher Script |("Serial-SetDispatchScript" "") Serial-SetDispatchScript A*Open Serial Port And Prepare for Receiving Open the serial port To Dispatch Menu HRPTH FPTHAHKES:Projecten:Troi FM Plug-In:GRAB:Troi-Grabber-Plug-in1.0a1:StudReg.fp3 MSPCA NAMEA StudReg.fp3 RPTHA StudReg.fp3 StudReg.fp3 FMP3FMP3 Troi-Grabber-Plug-in1.0a1 HKES:Projecten:Troi FM Plug-In:GRAB:Troi-Grabber-Plug-in1.0a1:StudReg.fp3 Ethernet zone McGee peter ONML"" ONML"" ONML"" (LIST LISTA baud=150 baud=300 baud=600 baud=1200 baud=1800 baud=2400 baud=3600 baud=4800 baud=7200 baud=9600 baud=14400 baud=19200 baud=28800 baud=38400 baud=57600 VDEFA( (LIST VDEFA( (LIST LISTA stop=10 stop=15 stop=20 VDEFA( (LIST LISTA data=5 data=6 data=7 data=8 VDEFA( (LIST LISTA"parity=none parity=odd parity=even VDEFA( (LIST LISTA:flowControl=DtrDsr flowControl=RtsCts flowControl=XOnXOff PRPTH FPTHAPKES:Projecten:Troi FM Plug-In:GRAB:Troi-Grabber-Plug-in1.0a1:samples:StudReg.fp3 MSPCA NAMEA StudReg.fp3 RPTHA :samples:StudReg.fp3 StudReg.fp3 FMP3FMP3 samples PKES:Projecten:Troi FM Plug-In:GRAB:Troi-Grabber-Plug-in1.0a1:samples:StudReg.fp3 Ethernet zone McGee peter NRPTH FPTHANKES:Projecten:Troi FM Plug-In:GRAB:Troi-Grabber-Plug-in1.0b1:docs:Overview.fp3 MSPCA NAMEA Overview.fp3 RPTHA :docs:Overview.fp3 Overview.fp3 FMP3FMP3 NKES:Projecten:Troi FM Plug-In:GRAB:Troi-Grabber-Plug-in1.0b1:docs:Overview.fp3 Ethernet zone McGee peter \RPTH FPTHA\KES:Projecten:Troi Plug-In 981215:Troi Plug-ins:SERIAL:Troi-Serial-Plug-in1.0b1:Portname.fp3 MSPCA NAMEA Portname.fp3 RPTHA Portname.fp3 Portname.fp3 FMP3FMP3 Troi-Serial-Plug-in1.0b1 \KES:Projecten:Troi Plug-In 981215:Troi Plug-ins:SERIAL:Troi-Serial-Plug-in1.0b1:Portname.fp3 Ethernet zone McGee peter \RPTH FPTHA\KES:Projecten:Troi Plug-In 981215:Troi Plug-ins:SERIAL:Troi-Serial-Plug-in1.0b1:SeriExpl.fp3 MSPCA NAMEA SeriExpl.fp3 RPTHA SeriExpl.fp3 SeriExpl.fp3 FMP3FMP3 Troi-Serial-Plug-in1.0b1 \KES:Projecten:Troi Plug-In 981215:Troi Plug-ins:SERIAL:Troi-Serial-Plug-in1.0b1:SeriExpl.fp3 McGee peter (LIST LISTA inputControl=DTR outputControl=DSR DTR=enabled DTR=disabled inputControl=RTS outputControl=CTS RTS=enabled RTS=disabled inputControl=XOnXOff outputControl=XOnXOff VDEFA( speedsH portsI stop bitsJ data bitsK parityL basic flow controlM advanced flow control FMRLA Portname VDEFA( Pro 3.0 - 4.0F! Pro 3.0 - 4.0M1 zondag maandag dinsdag woensdag donderdag vrijdag zaterdag januari februari maart april augustus september oktober november december 1st Quarter 2nd Quarter 3rd Quarter 4th Quarter ] = "" Cancel First select a valid port name.D |("Serial-Open" ] & "|" & W & " " & _ & " " & ` & " " & a & " "& Serial-Open <> 0 = "$$-97" $$-97 Cancelm mPort is in useHw Cancelm mAn error occurred To Main Menu To Dispatch Menu To Preferences ----- General ------ %Check for Presence of Serial plug-in ----- Dispatch Scripting ------ *Open Serial Port And Prepare for Receiving Open Serial Port Set Dispatcher Script Process Data Received , Receive Data in global gTempResultReceived Reset Dispatcher Script Close Serial Port ----- Misc ------ Open file Set all globals BeepBeep Open Serial Port